﻿
#pragma once

//----------------------------------------------------------------------------------
// Include
//----------------------------------------------------------------------------------
#include "../ace.common.Base.h"

//----------------------------------------------------------------------------------
//
//----------------------------------------------------------------------------------
namespace ace { 
//----------------------------------------------------------------------------------
//
//----------------------------------------------------------------------------------

/**
	@brief	2次元ベクトル
*/
struct Vector2DF
{
public:
	/**
		@brief	X
	*/
	float	X;

	/**
		@brief	Y
	*/
	float	Y;

	/**
		@brief	コンストラクタ
	*/
	Vector2DF();

	/**
		@brief	コンストラクタ
	*/
	Vector2DF( float x, float y );

	Vector2DF operator+(const Vector2DF& right);

	Vector2DF operator-(const Vector2DF& right);

	Vector2DF operator*(float right);

	Vector2DF& operator+=(const Vector2DF& right);

	Vector2DF& operator-=(const Vector2DF& right);

	Vector2DF& operator*=(float right);
};

//----------------------------------------------------------------------------------
//
//----------------------------------------------------------------------------------
}
//----------------------------------------------------------------------------------
//
//----------------------------------------------------------------------------------
